2008-02-19 Sven Neumann <sven@gimp.org>
* babl/babl-fish-path.c (test_create): reverted previous change as
it introduces the risk of not testing any values between 0.0 and 1.0.
svn path=/trunk/; revision=280
+2008-02-19 Sven Neumann <sven@gimp.org>
+
+ * babl/babl-fish-path.c (test_create): reverted previous change as
+ it introduces the risk of not testing any values between 0.0 and 1.0.
+
2008-02-19 Øyvind Kolås <pippin@gimp.org>
* babl/babl-fish-path.c: (test_create): make the testbuffer contain
test = babl_malloc (sizeof (double) * test_pixels * 4);
for (i = 0; i < test_pixels * 4; i++)
- test [i] = ((double) random () / RAND_MAX) * 2 - 0.25;
+ test [i] = (double) random () / RAND_MAX;
return test;
}